import {NextPage} from "next";
import {useRouter} from "next/router";
import {Welcome} from "../../cms/Welcome";

const Page: NextPage = () => {
    const router = useRouter()
    console.log(router.query)
    return (
        <div style={{textAlign: 'center'}}>
            <h1>商品详情页面</h1>
            {router.query.id}
            <Welcome/>
        </div>
    )
}

export default Page
